package com.object.utils;

import java.rmi.ServerException;
import java.util.Objects;

/**
 * @author Li Qing
 * date: 2024/10/26 19:12
 * description:
 */
public class Check {
    public static void check(Object obj, String msg) {
        if (Objects.isNull(obj)) {
            throw new RuntimeException(msg);
        }
    }
}
